package com.wondersgroup.service.impl;

import com.wondersgroup.entity.User;
import com.wondersgroup.mapper.UserMapper;
import com.wondersgroup.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserSerivceImpl implements UserService {

  @Autowired
  private UserMapper userMapper;

  @Override
  public User login(String username, String password) {
    return userMapper.login(username,password);
  }
}
